package com.gray.dao;

import java.util.List;

import com.gray.pojo.Article;
import com.gray.pojo.ArticleSort;
import com.gray.pojo.User;

public interface ArticleSortDao {
	/**
	 * 插入分组
	 * @param articleSort
	 * @return
	 */
	int insertArticleSort(ArticleSort articleSort);
	/**
	 * 删除分类
	 * @param artickeSort
	 * @return
	 */
	int delArticleSort(ArticleSort artickeSort);
	
	/**
	 * 获取用户的文章分组
	 * @param user
	 * @return
	 */
	List<ArticleSort> selectArticleSort(User user);
	
	int updateArticleSort(ArticleSort articleSort);
}
